package cn.wolfcode.edu.service;

import cn.wolfcode.edu.domain.ClassGrade;
import cn.wolfcode.edu.query.QueryObject;
import cn.wolfcode.edu.util.PageResult;

import java.util.List;

/**
 * Created by ASUS on 2018/7/8.
 */
public interface IClassGradeService {
    PageResult query(QueryObject qo);

    void insertClass(ClassGrade classGrade);

    void updateClass(ClassGrade classGrade);

    /**
     * 查询所有的班级
     * @return 包含所有班级的集合
     */
    List<ClassGrade> listAllClassGradeJson();

    Long getIdByName(String name);

    void selectClassById(Long id);

    List<ClassGrade> listAllBaseClz();

    List<ClassGrade> listAllGodClz();
}
